package com.zoroki.hmusic.service;

import com.zoroki.hmusic.entity.PlaylistSong;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zoroki
 * @since 2023-05-10
 */
public interface IPlaylistSongService extends IService<PlaylistSong> {
    List<PlaylistSong> findPlaylistSongByPlaylistId(int playlistId);

    int deleteSongFromPlaylist(int playlistId, int songId);

    int deletePlaylistSongByPlaylistId(int id);

    int deletePlaylistSongBySongId(int songId);

    int addPlaylistSong(PlaylistSong playlistSong);

}
